<div ng-if="pagedata.game_wait" class="popup" id="game_wait">
	<div class="popup-body">
    <div class="popup-center" style="width:80%;height:17rem;background:url({{tomedia(pagedata.game_wait.sendimage) || '../core/resource/images/h5game/bigwheel.png'}}) no-repeat;background-size:100% 100%;text-align:center;">
        <div class="fui-page-title" style="font-size:0.65rem;margin-top:-2.5rem;color:#fff">{{pagedata.game_wait.sendtitle||'恭喜您获得一次抽奖机会'}}</div>
        <div class="fui-page-subtitle" style="font-size:0.65rem;padding:0 0.5rem;margin-top:0;text-align:center;color:#f7f7f7">{{pagedata.game_wait.senddesc||'活动有时间限制，请及时参与！'}}</div>
		<a class='block' style="bottom:0;color:#fff" ng-click="pagedata.check_game();">点击参与，礼品多多哦</a>
		<i class="closed icon icon-cuowu" onclick="$('#game_wait').hide()"></i>
	</div>
	</div>
</div>
<div ng-if="pagedata.game_wait.active_url" ng-include="pagedata.game_wait.active_url"></div>
<script>
scope.pagedata.check_game=function(){
	if(scope.pagedata.game_wait.active_url){
		//开始活动
		scope.pagedata.start_game();
	}else{
		scope.access_json('jy_weishop/game.give//id='+scope.pagedata.game_wait.id);
	}
}
</script>